<?php

namespace app\model\product\product;

use crmeb\basic\BaseModel;
use crmeb\traits\ModelTrait;

class StoreProductTemplateRelation extends BaseModel
{
    use ModelTrait;

    /**
     * 模型名称
     * @var string
     */
    protected $name = 'store_product_template_relation';


    public function product()
    {
        return $this->belongsTo(StoreProduct::class, 'product_id', 'id');
    }
}